<%--
  Created by IntelliJ IDEA.
  User: shadowolf
  Date: 2017/7/27
  Time: 12:06
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!doctype  html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>课程主页</title>
</head>
<body onload="getAll()">

<script>
    function getAll() {
        location.href="<%=path%>/course/selectAll.action";
    }
    getAll();
</script>
</body>
</html>
